﻿capital = 1735
oob = "XOV_2275"

set_technology = {
	basic_supply_transport_tech = 1
	infantry_tech_level_tribal = 1
	infantry_tech_level_settler = 1
	#infantry_tech_level_scientific = 1
	support_tech_level_tribal = 1
	support_tech_level_settler = 1
	#support_tech_level_scientific = 1
	special_forces_tech_level_tribal = 1
	special_forces_tech_level_settler = 1
	#special_forces_tech_level_scientific = 1
	#power_armour_tech_level_settler = 1
	#power_armour_tech_level_scientific = 1
	vehicles_tech_level_tribal = 1
	vehicles_tech_level_settler = 1
	#vehicles_tech_level_scientific = 1
	robotics_tech_level_tribal = 1
	robotics_tech_level_settler = 1
	#robotics_tech_level_scientific = 1
	air_tech_level_tribal = 1
	air_tech_level_settler = 1
	#air_tech_level_scientific = 1
	naval_tech_level_tribal = 1
	naval_tech_level_settler = 1
	#naval_tech_level_scientific = 1
	tools_tech_level_tribal = 1
	tools_tech_level_settler = 1
	#tools_tech_level_scientific = 1
	habitation_tech_level_tribal = 1
	habitation_tech_level_settler = 1
	#habitation_tech_level_scientific = 1
	exploitation_tech_level_tribal = 1
	exploitation_tech_level_settler = 1
	#exploitation_tech_level_scientific = 1
	electronics_tech_level_tribal = 1
	electronics_tech_level_settler = 1
	#electronics_tech_level_scientific = 1
	#
	tool_engineering = 1
	standard_weaponry_tech = 1
	melee_weaponry_tech_1 = 1
	support_weaponry = 1
	demolitions_weaponry_tech = 1
	fireteam_weaponry_tech = 1
	anti_tank_equipment_tech_1 = 1
	bike_tech_1 = 1
	recon_company_tech_1 = 1
	spec_ops_equipment_tech_1 = 1
}

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		nautics_tech_1 = 1
		light_navy_hull_tech_1 = 1
		waterproof_sealing_tech = 1
	}
}

if = {
	limit = {
		NOT = { has_dlc = "Man the Guns" }
	}
	set_technology = {
		nautics_tech_non_mtg_1 = 1
		light_navy_hull_tech_non_mtg_1 = 1
		waterproof_sealing_tech_non_mtg = 1
	}
}

set_stability = 0.4
set_war_support = 0.3
set_convoys = 20
set_research_slots = 3

set_country_flag = is_settler_nation

set_variable = { never_return_stolen_territory = 1 }

recruit_character = XOV_Leader

set_politics = {
	ruling_party = ruler
	elections_allowed = no
}

set_popularities = {
	people = 0
	elites = 0
	intellectuals = 0
	ruler = 100
}

add_ideas = {

}

create_faction = XOV_Restaurateurs_de_la_Nouvelle_France
XOV = { add_to_faction = KYX }
XOV = { add_to_faction = PLY }

declare_war_on = {
    target = QRM
    type = annex_everything
}

KYX = {
	add_to_war = {
		targeted_alliance = XOV
		enemy = QRM
		hostility_reason = asked_to_join
	}
}

PLY = {
	add_to_war = {
		targeted_alliance = XOV
		enemy = QRM
		hostility_reason = asked_to_join
	}
}

add_equipment_to_stockpile = {
	type = anti_tank_equipment_1
	amount = 75
	producer = RMT
}
add_manpower = 1500